Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ndev 3414 update solana to v2.0 #579

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ancientmage
Copy link

No description provided.

@ancientmage ancientmage force-pushed the NDEV-3414-update-solana-to-v2.0 branch 7 times, most recently from 1062296 to 20d7f04 Compare December 9, 2024 14:10
@ancientmage ancientmage force-pushed the NDEV-3414-update-solana-to-v2.0 branch from 20d7f04 to 5b82c28 Compare December 9, 2024 15:43
@neonlabstech
Copy link

Dapps report

🔗Cost report

@neonlabstech
Copy link

Solana Requests Statistics
count min_time max_time average_time median_time
getAccountInfo 63103 0 0.202 0.000485967 0
getSlot 58766 0 0.19 0.00040634 0
getBlocks 28054 0 0.05 0.000400157 0
getMultipleAccounts 15544 0 0.199 0.000919133 0.001
getBlock 14208 0 0.026 0.000759924 0.001
getTransaction 10571 0 0.246 0.00744319 0.002
getLatestBlockhash 10401 0 0.131 0.000763677 0
getBlockTime 6312 0 0.145 0.000355989 0
sendTransaction 5372 0 0.126 0.00528444 0.003
getBalance 1809 0 0.081 0.000690989 0
getSignatureStatuses 1196 0 0.209 0.000633779 0
isBlockhashValid 580 0 0.005 0.000258621 0
getVersion 570 0 0.078 0.000675439 0
simulateTransaction 545 0 0.002 0.000554128 0.001
getSignaturesForAddress 61 0 0.003 0.00129508 0.001
requestAirdrop 32 0 0.001 0.00075 0.001
getTokenAccountBalance 10 0 0.008 0.002 0.001
getBlockHeight 8 0 0.001 0.00025 0
getHealth 3 0 0.001 0.000666667 0.001
getFirstAvailableBlock 2 0 0 0 0
getMinimumBalanceForRentExemption 1 0.001 0.001 0.001 0.001
getClusterNodes 1 0 0 0 0

cargo build --release && \
cargo clippy --release \
--config 'patch.crates-io.ethnum.git="https://github.com/neonlabsorg/ethnum.git"'\
--config 'patch.crates-io.ethnum.branch="NDEV-3414-u256-in-u64-4-implementation"' && \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create PR into neonlabsorg/ethnum.git to merge branch into main

thiserror = "1.0"
arrayref = "0.3.8"
hex = "0.4.3"
ripemd = "0.1"
rlp = "0.5"
static_assertions = "1"
borsh = "0.10"
borsh = "1.5.2"
borsh010 = { version = "0.10.4", package = "borsh" }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between borsch v1.5.2 and v0.10.4? Why do we need to use both of them?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no difference for us between this two crates. Mpl-token-metadata crate depends on >=0.9, <1.0 borsh. Solana-program depends on both borsh 1.5 and 0.10. So, we need to tell which version of borsh. Because it does not support deserialization from v1.5 trait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants